<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html >
<html>
<head>
<meta charset="UTF-8">
<title>求职者登录</title>
<link rel="shortcut icon" href="<%=request.getContextPath()%>/static/common/images/favicon.ico"/>
<link rel="stylesheet" href="<%=request.getContextPath() %>/static/common/vendor/bootstrap/css/bootstrap.min.css" >
<link rel="stylesheet" href="<%=request.getContextPath()%>/static/talent/styles/signin.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/validator/jquery.validator.css">
<script src="<%=request.getContextPath()%>/static/talent/styles/signin.css"></script>
</head>
<body>
<div class="container">
<ol class="breadcrumb">
  <li><a href="<%=request.getContextPath() %>/TalentServlet?command=returnHome">首页</a></li>
  <li><a href="<%=request.getContextPath() %>/TalentServlet?command=toLoginUi">求职者登录</a></li>
  <li><a href="<%=request.getContextPath() %>/TalentServlet?command=toRegisterUi">求职者注册</a></li>
 
  
  <li class="active">Data</li>
</ol>
		<c:if test="${! empty  param.result}">
			<div class="alert alert-warning alert-dismissible fade in"
				role="alert">
				<button type="button" class="close" data-dismiss="alert">
					<span aria-hidden="true">×</span><span class="sr-only">Close</span>
				</button>
				<strong>登录失败!</strong> 用户名或密码错误！
			</div>
		</c:if>
		<form class="form-signin" role="form"  action="<%=request.getContextPath() %>/TalentServlet?command=login" method="post"   onsubmit="return validate();">
        <h2 class="form-signin-heading">请在此输入</h2>
        <input  id="code"      type="text"  name="code"  class="form-control" placeholder="code" autofocus=""   onblur="validateAccount()"><span id="accountTip"></span>                                                                                
        <input  id =" password"   type="password" name="password" class="form-control" placeholder="Password" required="required"   onblur="validatePassword()"><span id="passwordTip"></span>
        <div class="checkbox">
          <label>
            <input type="checkbox" value="remember-me"> 记住我
          </label>
        </div>
        <button class="btn  btn-sm btn-primary btn-block" type="submit" >登录</button><br />
        <a class="btn  btn-sm btn-primary" href="<%=request.getContextPath() %>/TalentServlet?command=toRegisterUi">注册</a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="<%=request.getContextPath()%>/TalentServlet?command=foundpassword">忘记密码</a>
      </form>
       
    </div> 
<script   src="<%=request.getContextPath() %>/static/common/scripts/validate-common.js" >  </script>
<script   src="<%=request.getContextPath() %>/static/common/vendor/jquery.min.js"></script>
<script src="<%=request.getContextPath() %>/static/common/vendor/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script   src="<%=request.getContextPath() %>/static/common/vendor/layer/layer.js"></script>
<script src="<%=request.getContextPath()%>/static/vendor/nice-validator-0.10.11/dist/local/jquery.validator.min.js?local=zh-CN"></script>

</body>
</html>